/* 
 * Since 2008 - 2012
 */
package com.hh.bss.customer.vo.query;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.util.*;

import com.hh.bss.base.*;
import com.hh.bss.common.page.*;
import com.hh.bss.common.page.impl.*;
import com.hh.bss.customer.dao.*;
import com.hh.bss.customer.entity.*;
import com.hh.bss.customer.service.*;
import com.hh.bss.customer.vo.query.*;
import com.hh.bss.util.*;





public class CustomerComplainQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;
    

	/** id */
	private java.lang.Integer id;
	/** custId */
	private java.lang.Integer custId;
	/** 投诉时间 */
	private java.util.Date complainDtBegin;
	private java.util.Date complainDtEnd;
	/** 投诉人 */
	private java.lang.Integer complainer;
	/** 被投诉人 */
	private java.lang.String beComplainer;
	/** 处理人 */
	private java.lang.String handler;
	/** 记录人 */
	private java.lang.String creator;
	/** 记录时间 */
	private java.util.Date createDtBegin;
	private java.util.Date createDtEnd;
	/** 投诉详情 */
	private java.lang.String complainDetail;
	/** 处理记录 */
	private java.lang.String handleRecord;
	/** 处理状态             0:未处理             1：已处理             2：跟进中 */
	private java.lang.Integer handleStatus;

	public java.lang.Integer getId() {
		return this.id;
	}
	
	public void setId(java.lang.Integer value) {
		this.id = value;
	}
	
	public java.lang.Integer getCustId() {
		return this.custId;
	}
	
	public void setCustId(java.lang.Integer value) {
		this.custId = value;
	}
	
	public java.util.Date getComplainDtBegin() {
		return this.complainDtBegin;
	}
	
	public void setComplainDtBegin(java.util.Date value) {
		this.complainDtBegin = value;
	}	
	
	public java.util.Date getComplainDtEnd() {
		return this.complainDtEnd;
	}
	
	public void setComplainDtEnd(java.util.Date value) {
		this.complainDtEnd = value;
	}
	
	public java.lang.Integer getComplainer() {
		return this.complainer;
	}
	
	public void setComplainer(java.lang.Integer value) {
		this.complainer = value;
	}
	
	public java.lang.String getBeComplainer() {
		return this.beComplainer;
	}
	
	public void setBeComplainer(java.lang.String value) {
		this.beComplainer = value;
	}
	
	public java.lang.String getHandler() {
		return this.handler;
	}
	
	public void setHandler(java.lang.String value) {
		this.handler = value;
	}
	
	public java.lang.String getCreator() {
		return this.creator;
	}
	
	public void setCreator(java.lang.String value) {
		this.creator = value;
	}
	
	public java.util.Date getCreateDtBegin() {
		return this.createDtBegin;
	}
	
	public void setCreateDtBegin(java.util.Date value) {
		this.createDtBegin = value;
	}	
	
	public java.util.Date getCreateDtEnd() {
		return this.createDtEnd;
	}
	
	public void setCreateDtEnd(java.util.Date value) {
		this.createDtEnd = value;
	}
	
	public java.lang.String getComplainDetail() {
		return this.complainDetail;
	}
	
	public void setComplainDetail(java.lang.String value) {
		this.complainDetail = value;
	}
	
	public java.lang.String getHandleRecord() {
		return this.handleRecord;
	}
	
	public void setHandleRecord(java.lang.String value) {
		this.handleRecord = value;
	}
	
	public java.lang.Integer getHandleStatus() {
		return this.handleStatus;
	}
	
	public void setHandleStatus(java.lang.Integer value) {
		this.handleStatus = value;
	}
	
	private String field_type;
	private String query;

	public String getField_type() {
		return field_type;
	}

	public void setField_type(String file_type) {
		this.field_type = file_type;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}
        private String sort;
	private String dir;

        public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		
		this.sort = sort;
		if (!StringHelper.isEmpty(sort)&&!StringHelper.isEmpty(dir))
		  this.setSortColumns(sort+" "+dir);
	}

	public String getDir() {
		return dir;
	}

	public void setDir(String dir) {
		this.dir = dir;
	}
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
	
}

